const a = async function (
  _,
  { row },
  _01,
  { dc: { open, close }, xe: { get } }
) {
  const layout = { id: "1796462074648379394" };
  const modal = {
    title: "编辑税收企业名称",
    width: "55vw",
    height: document.body.clientHeight * 0.35,
    defaultFullscreen: false,
    destroyOnClose: false,
    maskClosable: false,
    open: true,
    centered: true,
    showCancelBtn: true,
  };
  const inner = {
    onOk: async function (_, { origin }, { dc: { http, message } }) {
      const params = get(origin, "1796464719358377986", {});
      console.log("params", params);
      return;
      const { code, msg } = await http.post(
        { url: "/nyk/tag/modifyTag", data: { ...params } },
        { isTransformResponse: false }
      );
      if (!params.name) return message.error("请填写标签名称");
      if (code !== 200) {
        message.error(msg);
      } else {
        close(true);
      }
    },
  };
  open({ inner, layout, modal, transfer: row });
};
